package com.ruoyi.fts.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.fts.domain.FtsLogisticsTrack;

/**
 * 物流轨迹Mapper接口
 *
 * @author lumberer
 * @date 2024-10-23
 */
public interface FtsLogisticsTrackMapper extends BaseMapper<FtsLogisticsTrack> {
    /**
     * 查询物流轨迹
     *
     * @param id 物流轨迹主键
     * @return 物流轨迹
     */
    public FtsLogisticsTrack selectFtsLogisticsTrackById(Long id);

    /**
     * 查询物流轨迹列表
     *
     * @param ftsLogisticsTrack 物流轨迹
     * @return 物流轨迹集合
     */
    public List<FtsLogisticsTrack> selectFtsLogisticsTrackList(FtsLogisticsTrack ftsLogisticsTrack);

    /**
     * 新增物流轨迹
     *
     * @param ftsLogisticsTrack 物流轨迹
     * @return 结果
     */
    public int insertFtsLogisticsTrack(FtsLogisticsTrack ftsLogisticsTrack);

    /**
     * 修改物流轨迹
     *
     * @param ftsLogisticsTrack 物流轨迹
     * @return 结果
     */
    public int updateFtsLogisticsTrack(FtsLogisticsTrack ftsLogisticsTrack);

    /**
     * 删除物流轨迹
     *
     * @param id 物流轨迹主键
     * @return 结果
     */
    public int deleteFtsLogisticsTrackById(Long id);

    /**
     * 批量删除物流轨迹
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFtsLogisticsTrackByIds(Long[] ids);
}